package com.globallogic.dailyplanner.service;

import java.util.Calendar;
import java.util.Date;
import java.util.List;

import com.globallogic.dailyplanner.dto.DailyPlan;

public interface DailyPlanService {
	List<DailyPlan> getAllById(int id);
	List<DailyPlan> getAll();
	DailyPlan getById(int id);
	DailyPlan save(DailyPlan dailyPlan);
	void delete(int id);
	DailyPlan getOneByNameAndTime(String name, Date startDate, String estimateDuration);
	int getCountOfDailyPlans();
	List<DailyPlan> getAllByDate(Calendar startDate, Calendar endDade);
}
